const config = {
    totalQuestions: 5 // 每次抽取的题目数量
};

const questionBank = [
    {
        question: "中国的首都是哪个城市？",
        options: ["上海", "北京", "广州", "深圳"],
        correctAnswer: "北京"
    },
    {
        question: "JavaScript是什么类型的语言？",
        options: ["编译型", "解释型", "混合型", "机器语言"],
        correctAnswer: "解释型"
    },
    {
        question: "HTML是什么的缩写？",
        options: ["Hyper Text Markup Language", "Home Tool Markup Language", "Hyperlinks and Text Markup Language", "High Technology Modern Language"],
        correctAnswer: "Hyper Text Markup Language"
    },
    {
        question: "CSS用于什么目的？",
        options: ["网页结构", "网页样式", "网页交互", "数据处理"],
        correctAnswer: "网页样式"
    },
    {
        question: "以下哪个不是JavaScript框架？",
        options: ["React", "Laravel", "Vue", "Angular"],
        correctAnswer: "Laravel"
    },
    {
        question: "HTTP状态码200表示什么？",
        options: ["未找到", "服务器错误", "成功请求", "权限不足"],
        correctAnswer: "成功请求"
    }
    // 可以继续添加更多题目...
];
